package com.github.lanif.modular.project.param;

import com.github.lanif.core.pojo.base.param.BaseParam;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class ProjectParam extends BaseParam {
    // id
    @NotNull(message = "id不能为空", groups = {edit.class, delete.class, detail.class})
    private Long id;

    // 项目名称
    @NotNull(message = "项目名称不能为空", groups = {add.class, edit.class})
    private String name;
}
